package cc.demo01;

/**
 * @author ${崔灿}
 * @date 2022/10/26 16:39
 **/

public class MyAnnotation01 {
    public static void main(String[] args) {
        PeopleOne peopleOne = new PeopleOne();
        peopleOne.show(52);
    }
}

@interface  MyOne{

}
@MyOne
class PeopleOne{
    @MyOne
    private String name;
    @MyOne

    public void show(@MyOne int age){
        System.out.println("******"+age);
    }
}
